﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.DB
{
    public class PageList<T>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int current_page { get; set; } = 1;
        /// <summary>
        /// 最后页码
        /// </summary>
        public int last_page { get; set; } = 1;
        /// <summary>
        /// 总记录数
        /// </summary>
        public int total { get; set; }
        /// <summary>
        /// 每页几条
        /// </summary>
        public int per_page { get; set; } = 15;

        public List<T> data { get; set; }

        //排除字段
        //[SugarColumn(IsIgnore = true)]
    }

}
